import File from '../file/File';
import SourceLoader from './SourceLoader';

export default class JsonLoader extends SourceLoader {
    async load(file: File) {
        file.contents = 'module.exports = ' + file.contents;
        await super.load(file);
    }
}